/*
 * @Author: Nico 339477680@qq.com
 * @Date: 2023-04-04 17:35:40
 * @LastEditors: Nico 339477680@qq.com
 * @LastEditTime: 2023-05-25 16:59:42
 * @FilePath: \vue-manage-system-4.2.0\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
module.exports = {
    publicPath: './',
    lintOnSave: true,
    configureWebpack: {
        //关闭 webpack 的性能提示
        performance: {
            hints:false
        }
    
    },
    devServer: {
        proxy: {
            '/api': {
                target: 'http://gongxiangtaiqiu.axa2.com',//后端接口地址
                // target: 'http://gxcs.axa2.com',//后端接口地址
                changeOrigin: true,//是否允许跨越
                pathRewrite: {
                    '^/api': ''//重写,
                }
            }
        }
    }
}
